Skip to content

Conversation

Jon-Bright
Copy link

This increases the size of the compiled sketch by 160 bytes, but that seems like a reasonable price to pay for runtime configuration of the region. The previous method, #define-ing a frequency in the sketch, has no effect because that same #define is not present when the library is compiled.

This option is my preferred option to fix this, in contrast with the PR just sent.

This option maintains compatibility with all code that currently works by keeping the default as US902.

…thod.

This increases the size of the compiled sketch by 160 bytes, but that seems
like a reasonable price to pay for runtime configuration of the region.
Without this, #define-ing a frequency in the sketch has no effect, because
that same #define is not present when the library is compiled.
@Jon-Bright
Copy link
Author

Here's the other, less-preferred option

@brentru
Copy link
Member

brentru commented Nov 23, 2020

@Jon-Bright Could you please add to the example, showing how to use this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants